﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Logistics.Car
{
    public interface ILineAppService: IApplicationService
    {
        /// <summary>
        /// 基本信息线路信息
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<PagedResultDto<LineDto>> GetListAsync(GetLineDto dto);
        /// <summary>
        /// 基本信息线路信息删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(int id);

        /// <summary>
        /// 车辆添加
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        Task<LineDto> Create(LineDto m);
        /// <summary>
        /// 车辆反填反填
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<LineDto> GetCarryById(int Id);
        /// <summary>
        /// 基础车辆修改
        /// </summary>
        /// <param name="ca"></param>
        /// <returns></returns>
        Task<int> Update(LineDto ca);
        Task<List<LongitudeandlatitudeDto>> GetLong(int Id);
    }
}
